﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_ChiNhanh : MarshalByRefObject, IHRM_BRANCHData
    {
        HRM_BRANCHData chinhanh = new HRM_BRANCHData();
        public int HRM_BRANCH_Delete(string BranchCode)
        {
            return chinhanh.HRM_BRANCH_Delete(BranchCode);
        }
        public int HRM_BRANCH_Disable(string BranchCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_BRANCH_Get(string BranchCode)
        {
            return chinhanh.HRM_BRANCH_Get(BranchCode);
        }
        public System.Data.DataSet HRM_BRANCH_GetList()
        {
            return chinhanh.HRM_BRANCH_GetList();
        }
        public int HRM_BRANCH_Insert(string BranchCode, string BranchName, string Address, string Phone, string Fax, decimal MinimumSalary, string PersonName, int Quantity, int FactQuantity, string Description)
        {
            return chinhanh.HRM_BRANCH_Insert(BranchCode, BranchName, Address, Phone, Fax, MinimumSalary, PersonName, Quantity, FactQuantity, Description);
        }
        public int HRM_BRANCH_Save(string BranchCode, string BranchName, string Address, string Phone, string Fax, decimal MinimumSalary, string PersonName, int Quantity, int FactQuantity, string Description)
        {
            return chinhanh.HRM_BRANCH_Save(BranchCode, BranchName, Address, Phone, Fax, MinimumSalary, PersonName, Quantity, FactQuantity, Description);
        }
        public int HRM_BRANCH_Update(string BranchCode, string BranchName, string Address, string Phone, string Fax, decimal MinimumSalary, string PersonName, int Quantity, int FactQuantity, string Description)
        {
            return chinhanh.HRM_BRANCH_Update(BranchCode, BranchName, Address, Phone, Fax, MinimumSalary, PersonName, Quantity, FactQuantity, Description);
        }
    }
}
